# Tanım: Cinnamon Dosya Yöneticisi
# URL: https://github.com/linuxmint/nemo
# Paketçi: Cihan_Alkan
# Gerekler: glib gtk-doc intltool xapps python-polib python-gobject gtk3 cinnamon-desktop libnotify cinnamon-translations gobject-introspection gnome-common libexif gvfs dconf desktop-file-utils exempi python libxml2
# Grup: sistem

isim=nemo
surum=4.0.6
devir=1
kaynak=(https://github.com/linuxmint/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz)

derle() {
  cd $isim-$surum
    sed -i '/^\[Desktop Entry/,/^\[Desktop Action/ s/^Name\(.*\)=.*/Name\1=Nemo/' data/nemo.desktop.in
    mkdir -p build
    cd build

    meson --prefix=/usr \
          --libdir=/usr/lib \
          --libexecdir=lib/${isim} \
          --buildtype=plain \
          ..
    ninja

    DESTDIR="${PKG}" ninja install
}
